package cn.gcyl.module.biz.controller.admin.marketinformation.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 市场资讯 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MarketInformationRespVO {

    @Schema(description = "咨讯id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4102")
    @ExcelProperty("咨讯id")
    private Integer id;

    @Schema(description = "咨询名称", example = "赵六")
    @ExcelProperty("咨询名称")
    private String informationName;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("显示顺序")
    private Integer sort;

    @Schema(description = "显示状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("显示状态（0正常 1停用）")
    private Integer status;

    @Schema(description = "首页是否推荐（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("首页是否推荐（0正常 1停用）")
    private Integer recommendedStatus;

    @Schema(description = "图片地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("图片地址")
    private String imagePath;

    @Schema(description = "详情", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("详情")
    private String details;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;
}